package com.github.murzagalin.evaluator.token

import kotlin.jvm.JvmInline

sealed interface Operand : Token {
    @JvmInline
    value class Number(val value: Double) : Operand {
        constructor(value: Int): this(value.toDouble())
    }

    @JvmInline
    value class Boolean(val value: kotlin.Boolean) : Operand

    @JvmInline
    value class Variable(val value: String) : Operand
}